package guda.house.biz;

import guda.house.biz.form.AdminEditForm;
import guda.house.biz.form.AdminForm;
import guda.house.biz.form.AdminVillageForm;
import guda.house.biz.form.LoginForm;
import guda.house.dal.dataobject.AdminDO;
import guda.grape.autogen.common.page.BaseQuery;
import guda.grape.autogen.common.page.BizResult;

public interface AdminBiz {

        BizResult detail(long id);

        BizResult list(BaseQuery baseQuery);

        BizResult delete(long id);

        BizResult create(AdminForm adminForm);

        BizResult update(AdminEditForm adminEditForm);

        BizResult login(LoginForm loginForm);

        BizResult queryForCreate();

        BizResult queryForEdit(long id);

        BizResult queryAllVillage(long id);

        BizResult bindVillage(AdminVillageForm adminVillageForm);


}
